package com.hsb.seckill.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (SeckillGoods)实体类
 *
 * @author makejava
 * @since 2021-09-05 21:59:13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_seckill_goods")
public class SeckillGoods implements Serializable {
    private static final long serialVersionUID = 735775055506981793L;
    /**
     * 秒杀商品id
     */
    private Long id;
    /**
     * 商品id
     */
    private Long goodsId;
    /**
     * 秒杀价
     */
    private BigDecimal seckillPrice;
    /**
     * 库存数量
     */
    private Integer stockCount;
    /**
     * 秒杀开始时间
     */
    private Date startDate;
    /**
     * 秒杀结束时间
     */
    private Date endDate;

}